export const gameList = [
  {
    title: '英雄联盟',
    subTitle: '全新英雄对战游戏',
    img: 'https://imgcdn.start.qq.com/cdn/win.client/imgres/game-icon/600015-l.png'
  },
  {
    title: '原神',
    subTitle: '跨越尘世的探索之旅!',
    img: 'https://imgcdn.start.qq.com/cdn/win.client/imgres/game-icon/200047-l.png'
  },
  {
    title: '命运方舟',
    subTitle: '次世代MMORPG游戏',
    img: 'https://imgcdn.start.qq.com/cdn/win.client/imgres/game-icon/400159-l.png'
  },
  {
    title: '地下城与勇士',
    subTitle: '随时随地玩地下城端游',
    img: 'https://imgcdn.start.qq.com/cdn/win.client/imgres/game-icon/600016-l.png'
  },
  {
    title: '原神',
    subTitle: '跨越尘世的探索之旅!',
    img: 'https://imgcdn.start.qq.com/cdn/win.client/imgres/game-icon/200047-l.png'
  }
]

export const appList = [
  {
    label: 'historyGame',
    name: '最近在玩',
    path: '/history'
  }
]
export const getGameList = () => {
  const num = Math.floor(Math.random() * 10) + 1
  let arr = []
  new Array(num).fill(1).forEach(() => {
    arr = arr.concat(gameList)
  })
  return arr
}
